package com.ybb.production.dto;

import com.yubb.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 生产工单对象 garment_production_order
 *
 * @author ruoyi
 * @date 2023-09-06
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GarmentProductionOrderUpsertDTO extends BaseEntity {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 工单号
     */
    @ApiModelProperty(value = "工单号")
    private String orderNo;
    /**
     * 款号
     */
    @NotNull(message = "款号不能为空")
    @ApiModelProperty(value = "款号")
    private String styleCode;

    @ApiModelProperty(value = "加工厂")
    private String processingFactory;
    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private String price;

    /**
     * 工资月份
     */
    @ApiModelProperty(value = "工资月份")
    private String salaryMonth;

    /**
     * 交货日期
     */
    @ApiModelProperty(value = "交货日期")
    private String deliveryTime;

    /**
     * 图片路径集合
     */
    @ApiModelProperty(value = "图片路径集合")
    private String imagePathList;

    @ApiModelProperty(value = "状态（0生产中 1已完成）")
    private String status;

    /**
     * 规格通用 (规格表)
     */
    @ApiModelProperty(value = "规格通用 (规格表)")
    private String dynamicData;

    private String delFlag;

    @ApiModelProperty(value = "工序表")
    private List<GarmentProductionProcessDTO> processList;


}
